﻿@{
    ViewBag.Title = "QrcodeSiteDetail";
    Layout = "~/Views/Shared/_adminLayout.cshtml";
}

@model  Wx_QrcodeSite

<h2 class="sub-header">门店详情</h2>
<div class="table-responsive">
    <table class="table table-striped table-bordered table-hover">
        <tbody>
            <tr>
                <td>小程序码</td>
                <td>
                    <img src="@Url.Content("~/images/qrcode/site/")@Model.QrcodeImg" height="50" />
                </td>
                <td>openid</td>
                <td>@Model.Openid</td>
            </tr>
            <tr>
                <td>门店名称</td>
                <td>@Model.Company</td>
                <td>电话</td>
                <td>@Model.Telephone</td>
            </tr>
            <tr>
                <td>地址</td>
                <td>@Model.Address</td>
                <td>营业时间</td>
                <td>
                    @Model.OpenidHours
                </td>
            </tr>
            <tr>
                <td>简介</td>
                <td colspan="3">
                    @Model.Introduce
                </td>
            </tr>
            <tr>
                <td>图片</td>
                <td colspan="3">
                    @if (!string.IsNullOrEmpty(Model.CompanyImg1))
                    {
                        <img src="@Model.CompanyImg1" height="100" />
                    }
                    @if (!string.IsNullOrEmpty(Model.CompanyImg2))
                    {
                        <img src="@Model.CompanyImg2" height="100" />
                    }
                    @if (!string.IsNullOrEmpty(Model.CompanyImg3))
                    {
                        <img src="@Model.CompanyImg3" height="100" />
                    }
                </td>
            </tr>           
            <tr>
                <td>创建时间</td>
                <td>@Model.CreateDate</td>
                <td>更新时间</td>
                <td>@Model.UpdateDate</td>
            </tr>

        </tbody>
    </table>
</div>

